using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace HDS.Model.Entity.Master
{
    /// <summary>
    /// 供应商酒店标记 
    /// </summary>
    [SugarTable("supplier_hotel_mark")]
    public class SupplierHotelMark
    {

        /// <summary>
        /// 供应商
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "supplier")]
        public string Supplier { get; set; }

        /// <summary>
        /// 供应商酒店id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "supplier_hotel_id")]
        public string SupplierHotelId { get; set; }

        /// <summary>
        /// TOP排序
        /// </summary>
        [SugarColumn(ColumnName = "supplier_top")]
        public int SupplierTop { get; set; } = 0;

        /// <summary>
        /// 是否敏感酒店
        /// </summary>
        [SugarColumn(ColumnName = "supplier_sensitive")]
        public int SupplierSensitive { get; set; } = 0;

        /// <summary>
        /// 是否有价
        /// </summary>
        [SugarColumn(ColumnName = "is_avail")]
        public bool IsAvail { get; set; } = false;

        /// <summary>
        /// 更新人id
        /// </summary>
        [SugarColumn(ColumnName = "updated_by")]
        public int UpdatedBy { get; set; }

        /// <summary>
        /// 更新人姓名
        /// </summary>
        [SugarColumn(ColumnName = "updated_by_name")]
        public string UpdatedByName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnName = "updated_time")]
        public DateTime UpdatedTime { get; set; }

    }
}
